﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;

namespace EFCore.AspNet.Sample.Services
{
    /// <summary>
    /// 测试一下httpclient注入，类型化客户端方式
    /// </summary>
    public class TypedClientService
    {
        private HttpClient _httpClient;

        public TypedClientService(HttpClient httpClient)
        {
            _httpClient = httpClient;
        }
    }
}
